package ${basepackage}.framework.vo;

import com.dongfang.framework.base.util.JsonUtil;

public class ValueObject {

	private String key;
	private String oldValue;
	private String newValue;
	
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public String getOldValue() {
		return oldValue;
	}
	public void setOldValue(String oldValue) {
		this.oldValue = oldValue;
	}
	public String getNewValue() {
		return newValue;
	}
	public void setNewValue(String newValue) {
		this.newValue = newValue;
	}

	@Override
	public String toString() {
		try {
			return JsonUtil.beanToJson(this);
		} catch (Exception e) {
			return super.toString();
		}
	}
}
